package com.wss.common.db;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user_role_promise")
public class UserRolePromise {

    @TableId(type = IdType.AUTO)
    @TableField
    private  int id;

    private int userId;

    private  String promise;

    private Date createTime;

    private  Date updateTime;
}
